package com.zhixing.user.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum AuthStatus {
    NO_AUTH(0, "未认证"),
    ALREADY_AUTH(1, "已认证"),
    AUTH_EXPIRE(2, "认证过期");

    @JsonValue
    @EnumValue
    private final int value;
    private final String desc;
}
